<div class="container">
  <h1>go_home()</h1>
  <p class="signature">public function go_home(): void</p>
  <h2>Description</h2>
  <div class="description">
    <p>
      Redirects to the designated dashboard home page.
    </p>
  </div>
  <h2>Customizing the Redirect URL</h2>
      <p>The default dashboard home URL is set to <b>trongate_pages/manage</b>. To change this destination, modify the <b>$dashboard_home</b> property at the top of the <b>Trongate_administrators</b> class in the PHP file.</p>
      <p>To change the dashboard home URL, open Trongate_adminstrators.php and uncomment this line:</p>
      <pre>// private $dashboard_home = 'trongate_pages/manage';</pre>
      <p>Then, replace <b>'trongate_pages/manage'</b> with your preferred URL path.</p>

  <h2>Parameters</h2>
  <table>
    <thead>
      <tr>
        <th>Parameter</th>
        <th>Type</th>
        <th>Description</th>
        <th>Default</th>
        <th>Required</th>
      </tr>
    </thead>
    <tbody>
      <!-- This method does not take any parameters -->
      <tr>
        <td colspan="5">This method does not take any parameters.</td>
      </tr>
    </tbody>
  </table>
  <h2>Return Value</h2>
  <table>
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>void</td>
        <td>This method does not return any value.</td>
      </tr>
    </tbody>
  </table>
  <h2>Example Usage #1</h2>
  <p>
    The code below demonstrates how to create a hyperlink that redirects users to the dashboard home page upon clicking:
  </p>
  <div>
    <pre>&lt;?= anchor('trongate_administrators/go_home', 'Dashboard Home') ?&gt;</pre>
  </div>

  <h2>Example Usage #2</h2>
  <p>
    In this alternative example, a CSS class named 'button' is added to the dashboard home hyperlink, giving it the appearance and behavior of a button:
  </p>
  <div>
    <pre>&lt;?= anchor('trongate_administrators/go_home', 'Dashboard Home', array('class' => 'button')) ?&gt;</pre>
  </div>
</div>
